package com.ruoyi.huanjing.entity;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 时间多普勒谱类
 * 用于存储和管理时间-多普勒频谱数据，包含多普勒频率、时间序列和谱密度信息
 */
@Data
@Accessors(chain = true)
public class TimeDopplerSpectrum {
    /**
     * 多普勒频率数组
     */
    private double[] dopplerFrequencies;
    /**
     * 时间序列数组
     */
    private double[] times;
    /**
     * 谱密度二维数组
     */
    private double[][] spectrumDensity;

    /**
     * 构造函数，初始化时间多普勒谱对象
     * @param dopplerFrequencies 多普勒频率数组
     * @param times 时间序列数组
     * @param spectrumDensity 谱密度二维数组，表示在不同时间和频率下的谱密度值
     */
    public TimeDopplerSpectrum(double[] dopplerFrequencies, double[] times, double[][] spectrumDensity) {
        this.dopplerFrequencies = dopplerFrequencies;
        this.times = times;
        this.spectrumDensity = spectrumDensity;
    }


}
